package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_washe_box", autoSave = true,uploadCk = true,desc = "瓦舍-宝箱变更日志")
public class LogWasheBox extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "玩家1ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "当前赛季")
    private int seasonId;
    @FieldTypeAnnotation(desc = "段位")
    private int rankId;

    @FieldTypeAnnotation(desc = "宝箱赛季")
    private int boxSeason;
    @FieldTypeAnnotation(desc = "宝箱ID")
    private int boxId;
    @FieldTypeAnnotation(desc = "宝箱品质，废弃")
    private int boxQua;
    @FieldTypeAnnotation(desc = "是否打开，否=获得")
    private boolean openBox;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;

    public LogWasheBox(long userId, int seasonId, int rankId, int boxSeason, int boxId, int boxQua, boolean openBox, String reward) {
        this.userId = userId;
        this.seasonId = seasonId;
        this.rankId = rankId;
        this.boxSeason = boxSeason;
        this.boxId = boxId;
        this.boxQua = boxQua;
        this.openBox = openBox;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getSeasonId() {
        return seasonId;
    }

    public void setSeasonId(int seasonId) {
        this.seasonId = seasonId;
    }

    public int getRankId() {
        return rankId;
    }

    public void setRankId(int rankId) {
        this.rankId = rankId;
    }

    public int getBoxSeason() {
        return boxSeason;
    }

    public void setBoxSeason(int boxSeason) {
        this.boxSeason = boxSeason;
    }

    public int getBoxId() {
        return boxId;
    }

    public void setBoxId(int boxId) {
        this.boxId = boxId;
    }

    public int getBoxQua() {
        return boxQua;
    }

    public void setBoxQua(int boxQua) {
        this.boxQua = boxQua;
    }

    public boolean isOpenBox() {
        return openBox;
    }

    public void setOpenBox(boolean openBox) {
        this.openBox = openBox;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }
}
